package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findAll(QueryPageBean queryPageBean);

    //根据Id查询整个套餐数据，关联检查组的信息
    Setmeal findById(Integer id);

    //编辑检查套餐
    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    //根据id删除检查套餐
    void delete(Integer id);

    List<Setmeal> findAllSetmeal();

    Setmeal findBySeatmealId(Integer id);
}
